package com.atguigu.spzx.order;

import com.atguigu.spzx.common.annotation.EnableUserTokenFeignInterceptor;
import com.atguigu.spzx.common.annotation.EnableUserWebMvcConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * <p>
 * OrderApplication
 * </p>
 *
 * @author flyduck
 * @since 2023/11/6
 */
@ComponentScan(basePackages = {"com.atguigu.spzx"})
@SpringBootApplication
@MapperScan("com.atguigu.spzx.order.mapper")
@EnableFeignClients(basePackages = "com.atguigu.spzx")
@EnableUserWebMvcConfiguration
@EnableUserTokenFeignInterceptor
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class,args);
    }
}
